package com.gking.aiService.serviceUtils.RemoteInteraction;

import com.gking.aiService.common.Result;
import com.gking.aiService.common.ResultResponse;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface RemoteInteractionService {



    /**
     * 获取用户角色详情
     *
     * @return s
     */
    public ResultResponse getUserRolesDetail();

    /**
     * 获取角色权限详情
     *
     * @param roleId 角色id
     * @return s
     */
    public ResultResponse getRolePermissionsDetail(String roleId);

    /**
     * 退出登录
     *
     * @return s
     */
    public Result<String> logout();


    /**
     * 获取用户登录缓存的凭证信息
     *
     * @return s
     */
    public Result<Map> getUserLoginAuth(HttpServletRequest request);
}
